export function roomChooser(room){
	let baseUri = '/pages/room/roomDetail'
	console.log(room)
	return baseUri+`?roomType=${room.type}&roomName=${room.name}`
}
	
// /static/images/codefun/28e70581a6a37a04736df6b7c55715a2.png
export function roomImgChooser(roomId){
	let baseUri = '/static/images/codefun/'
	switch(roomId){
		case 'a1':
			return baseUri+'dff140dd61d1c5e2e88097367f7c3321.png'
			break
		case 'a2':
			return baseUri+'28e70581a6a37a04736df6b7c55715a2.png'
			break
		case 'a3':
			return baseUri+'f4c09fdabb13fe58cfc8eb83a180e4aa.png'
			break
		default:
			return baseUri+'23aea9ca51c616e4a7b89673b82b8734.png'
			break
	}
}	
